package com.ljh.mall.feign;

import com.ljh.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author ：刘剑鸿
 * @date ：Created in 2023/3/30 22:14
 * @description：
 * @modified By：
 * @version: $
 */
@FeignClient("mall-third")
public interface ThirdPartFeginService {

    @GetMapping("/sms/sendcode")
    public R sendSmsCode(@RequestParam("phone") String phone, @RequestParam("code") String code);

}
